package com.hyz.service;

import com.hyz.pojo.request.ApprovalResultRequest;
import com.hyz.pojo.response.AssetSecondmentResponse;
import pojo.ResponseResult;

import java.util.List;

/**
 * @author HGD
 * @date 2022/10/10 0:03
 */
public interface FinancialService {
    /**
     * 财务人员获取资产调用申请
     *
     * @return 资产调用申请
     */
    ResponseResult<List<AssetSecondmentResponse>> flGetAssetSecondments();

    /**
     * 信息管理经理审批调用申请
     *
     * @param request 资产借用id和申请审批
     * @return 剩余的调用申请
     */
    ResponseResult<List<AssetSecondmentResponse>> flUpdateAssetSecondment(ApprovalResultRequest request);
}
